package cn.itsource.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SendSmsCodeDTO {
    /**
     * 图片验证码
     */
    @NotEmpty(message = "图片验证码不能为空")
    private String imageCode;
    /**
     * 用来做图片验证的key
     */
    @NotEmpty(message = "非法请求")
    private String imageCodeKey;
    /**
     * 手机号
     */
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
}
